﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;

namespace Djs.Tools.Tresor
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new Djs.Tools.Tresor.Forms.TestForm());
            // Application.Run(new Djs.Tools.Tresor.Forms.CreateKeyForm());
            return;

            using (NotifyIcon ico = Gui.Tray.GetTrayIcon())
            using (ApplicationContext apc = new ApplicationContext())
            {
                apc.ThreadExit += new EventHandler(apc_ThreadExit);
                Application.Run(apc);
                ico.Visible = false;
                // Application.Run(new Djs.Tools.Tresor.MainForm());
            }
        }

        static void apc_ThreadExit(object sender, EventArgs e)
        {
            
        }
    }
}